Bentley OpenUtilities CONNECT Edition Help

Domain Editor

The Domain Editor dialog box lets you manipulate attribute domains for feature attributes. This dialog box is accessed by selecting a feature attribute on the Attributes page, clicking the current value in the Domain column, and then clicking the ellipsis button that appears. The Domain Editor can also be accessed with the Domain Editor command on the Edit menu. Required fields are displayed in bold type.

Settings Description

Domain Grid

The Domain grid lists all the attribute domains. The selection in this grid determines what is displayed in the Friend Domains and Attribute Legal Values grids.

Name

The name of the attribute domain.

Value Type

The type of data used for attribute values. When you click the current value in the Value column, a button appears that allows you to access the following list and make a selection: String, Integer, Boolean, Double, Currency, Date.

Control Type

The type of interface control used to collect the data from users. When you click the current value in the Control Type column, a button appears that lets you access the list of valid control types and make a selection. The following types of controls are available:
  • Edit Box
  • Drop List: (requires at least one entry in the Attributes Legal Values grid)
  • Check Box: (requires two values in the Attributes Legal Values grid)
  • Spin Control
  • Date Picker
  • Currency
  • Double

The following Control Type settings are valid for each Value Type setting:

  • String: Edit Box, Drop List
  • Integer: Edit Box, Drop List, Spin Control
  • Boolean: Drop List, Check Box
  • Double: Edit Box, Drop List, Currency, Double
  • Currency: Edit Box, Drop List, Currency, Double
  • Date: Edit Box, Drop LIst, Date Picker

New button

Displays a new empty row in the grid so you can create a new attribute domain.

Delete button

Deletes the currently selected attribute domain after you confirm the deletion. This command initiates a check to determine whether any feature attributes are using this domain. If so, a message indicates that the domain cannot be deleted. Otherwise, the domain will be deleted, along with all references to friend domains. Assignments to attribute legal values will be deleted but not the values themselves.

Friend Domains Grid

Friend domains are used to determine which domains can share default values and what the set of possible default values are among a group of friend domains. The OverlappingDomains table stores the relationships of friend domains.

Name

Lists the names of all domains that are "friendly" with the currently selected domain in the Domain grid.

New button

Adds a row to the grid and displays a button that opens a drop-down list of existing attribute domains that are not currently friends of the domain selected in the Domain grid. Selecting a domain from the list associates it with the active domain.

Delete button

Removes the selected domain name from the list and breaks the connection between the friend domain and the active domain.

Attribute Legal Values Grid

The Attribute Legal Values grid shows all the legal attribute values for the currently selected attribute domain in the Domain grid. The grid accepts input only if the control type is Drop List or Check Box. If the setting is Drop List, at least one entry is required. If the control type is Check Box, two entries are required, along with entries in the Alternate Value column.

Value

Lists the available values for the selected attribute domain. These values are displayed to users via the corresponding control type (i.e., Drop List or Check Box).

Alternate Value

Provides another version of the value that is more recognizable to users. Required if the Control Type setting is Check Box.

New button

Adds a new row to the grid so you can specify a new legal attribute value. The default value is New Value #1.

Delete button

Removes the selected value from the grid after you confirm the deletion. The Delete operation removes the legal value assignment from the currently selected domain but does not delete the attribute legal value itself. Any attempt to change or delete a value will display a warning message that the feature attribute may be used in a compatible unit rule for the selected feature type and that changing or deleting the legal value may make the rule incorrect.